# 输入三个整数x,y,z，请把这三个数由小到大输出

x = int(input("x:\n"))
y = int(input("y:\n"))
z = int(input("z:\n"))

a = [x, y, z]
a.sort()

for i in a:
    print(i)

print(a)

